home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / hp.cf < prev    next >
Text File  |  1995-07-12  |  3KB  |  106 lines

  1. XCOMM platform:  $XConsortium: hp.cf,v 1.70 94/10/28 20:47:55 dpw Exp $
  2.  
  3. #define OSName                 HP-UX 9.1
  4. XCOMM operating system:  OSName
  5. #define OSMajorVersion         9
  6. #define OSMinorVersion         1
  7. #define OSTeenyVersion         0
  8.  
  9. /* Fresco configuration */
  10. #ifndef DishLibraries
  11. #define DishLibraries $(TCLPRELIB) -ltcl -lFresco
  12. #endif
  13.  
  14. /*
  15.  * C++ compiler setup.  This file knows what options to use with 
  16.  * certain compilers, including HP C++ and CenterLine C++.
  17.  * 
  18.  * For HP C++, define HasHPCplusplus to YES in site.def.  
  19.  * For CenterLine C++, define HasCenterLineCplusplus to YES in site.def.
  20.  * For other compilers, define HasCplusplus to YES in site.def, and 
  21.  *    check to see if you need to provide values for CplusplusOptions
  22.  *    and/or DefaultCplusplusOptions.
  23.  *
  24.  * In any case, you may also need to set CplusplusDependIncludes.
  25.  */
  26.  
  27. #if HasHPCplusplus
  28. #ifndef HasCplusplus
  29. #define HasCplusplus YES
  30. #endif
  31. #ifndef DefaultCplusplusOptions
  32. #define DefaultCplusplusOptions -Aa
  33. #endif
  34. #ifndef CplusplusOptions
  35. #define CplusplusOptions -Aa
  36. #endif
  37. #ifndef CplusplusDependIncludes 
  38. #define CplusplusDependIncludes -I/usr/include/CC
  39. #endif
  40. #endif
  41.  
  42. #if HasCenterLineCplusplus
  43. #ifndef HasCplusplus
  44. #define HasCplusplus YES
  45. #endif
  46. #ifndef OptimizedCplusplusDebugFlags
  47. #define OptimizedCplusplusDebugFlags -O
  48. #endif
  49. #ifndef CplusplusDependIncludes 
  50. #define CplusplusDependIncludes -I/usr/local/CenterLine/clc++/pa-hpux8/incl
  51. #endif
  52. #endif
  53.  
  54.  
  55. #define SystemV                YES
  56. #define Malloc0ReturnsNull     YES
  57.  
  58. #ifdef __hp9000s800
  59. #define OptimizedCDebugFlags   +O1
  60. #define DefaultCCOptions       -Aa +ESlit
  61. #define SharedLibraryCCOptions -Aa
  62. #define StandardDefines        -Dhpux -DSYSV -D_HPUX_SOURCE
  63. #define ServerExtraDefines -DXOS -DBSTORE -DSOFTWARE_CURSOR -DNO_ALLOCA -DSCREEN_PIXMAPS -DMERGE_SAVE_UNDERS -DR5 -DHAS_IFREQ -DFORCE_SEPARATE_PRIVATE
  64. #include <hpLib.rules>
  65. #else
  66. #define StandardDefines        -Dhpux -DSYSV
  67. #if OSMajorVersion < 8
  68. #define DefaultCCOptions       -Wc,-Nd4000,-Ns4100,-Ne700,-Np200,-Nw300
  69. #define PexCCOptions           -Wp,-H150000 -Wc,-Nd4000,-Ns8100,-Ne700,-Np200
  70. #else
  71. #define OptimizedCDebugFlags   +O1
  72. #define PexCCOptions           -Wp,-H250000
  73. #endif
  74. #define PexShmIPC              NO
  75. #define LintOpts               -ax -Nd4000 -Ns8000 -Ne700 -Np200 -Na25000
  76. #endif
  77. #define MvCmd                  mv -f
  78. #define LdCombineFlags -r
  79. #define ExecableScripts        YES
  80. #define HasVFork               YES
  81. #define HasPoll                YES
  82. #define RemoveTargetProgramByMoving YES
  83. #define ExpandManNames         YES
  84. #define HasPutenv              YES
  85. #define HasNdbm               YES
  86. #define DBMLibrary           /usr/lib/libdbm.a
  87. #define PrimaryScreenResolution    91
  88. #define ExtensionOSDefines     -DHPINPUT -DXTESTEXT1
  89. #define XhpServer              YES
  90. #define ServerExtraSysLibs     -ldld
  91. #ifndef BuildXInputExt
  92. #define BuildXInputExt         YES
  93. #endif
  94. #define HPFastScrolling        YES
  95. #define BuildServer            __hp9000s700
  96. #define NeedBerklib            (BuildServer|BuildFontServer)
  97. #define XawI18nDefines           -DHAS_WCHAR_H -DHAS_ISW_FUNCS
  98.  
  99. #if OSMajorVersion < 6 || (OSMajorVersion == 6 && OSMinorVersion < 2)
  100. #define ConnectionFlags        -DTCPCONN    /* no unix sockets */
  101. #endif
  102.  
  103. #if OSMajorVersion > 8
  104. #define HasWChar32             YES
  105. #endif
  106.